package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easy.common.bean.SysUser;

import java.util.List;

public interface IUserService {
    SysUser insert(SysUser user);
    SysUser update(SysUser user);
    int delete(Integer id);
    SysUser getByID(Integer id);
    IPage<SysUser> getListByPage(IPage page, SysUser user);
    List<SysUser> getList(SysUser user);
    int setStatus(Integer id);
    SysUser assignRole(SysUser user);
    SysUser getByUsername(String username);
}
